﻿using System;
using EBAYVN.Util;
using EBAYVN.WEBADMIN.UserControls;
using EBAYVN.WEBADMIN.Common;

namespace EBAYVN.WEBADMIN.Forms.Default
{
    public partial class Default : Authentication
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            PrepareUI();
        }

        private void PrepareUI()
        {
            Page.Title = Resources.Message.TITLE_TRANGCHU;

            var header = (Header)Master.FindControl("header");
            if (header != null)
            {
                header.ModuleName = Resources.Message.MODULE_TRANGCHU;
                header.TitlePage = Resources.Message.PAGE_TRANGCHU;
            }
        }
    }
}